package cn.TcpService;

public class CoilService implements Runnable {
	private CoilSchedule coilSchedules[];

	public CoilService(CoilSchedule coilschedules[]) {
		this.coilSchedules = coilschedules;
	}

	public void StartService() {
		Thread thisThread = new Thread();
		thisThread.start();
	}

	public void run() {
		long timeStamp = 0;
		System.err.println("==========CoilService.java启动计划任务Task==========");
		CoilTask ct = new CoilTask(coilSchedules);
		ct.startSwitchTask();
		System.err.println("==========CoilService.java计划任务介绍Task==========");
	}
}
